
import layout from '@/views/dataset/module/Layout'
export default [
  {
    path: '/dataset',
    name: 'dataset',
    component: () => import('@/views/dataset/lis'),
    affiliation: 'main',
    meta: { title: '数据仓库', icon: 'icon2', name: 'dataset' },
  },
  {
    path: '/dataset/detail',
    name: 'datasetdetail',
    component: () => import('@/views/dataset/detail'),
    meta: { 
      title: '新建', 
      hideDetails: true,
      icon: 'nav-menu-icon1', 
      affiliation: "dataset" 
    }
  },
  {
    path: '/dataset/labeleditor',
    name: 'datasetlabeleditor',
    component: () => import('@/views/dataset/labeleditor'),
    meta: { 
      title: '标注', 
      hideDetails: true,
      icon: 'nav-menu-icon1', 
      affiliation: "dataset" 
    }
  },
  {
    path: '/dataset/imgClassesEditor',
    name: 'datasetimgclasseditor',
    component: () => import('@/views/dataset/imgClassesEditor'),
    meta: { 
      title: '图像分类标注', 
      hideDetails: true,
      icon: 'nav-menu-icon1', 
      affiliation: "dataset" 
    }
  },
  {
    path: '/dataset',
    name: 'dataset',
    component: layout,
    // affiliation: 'main1',
    meta: { title: '数据集管理', icon: 'icon1', name: 'dataset' },
    children: [
      // {
      //   path: 'lis',
      //   component: () => import('@/views/dataset/lis'),
      //   meta: { 
      //     title: '模型开发列表', 
      //     hideDetails: true,
      //     icon: 'nav-menu-icon1', 
      //     affiliation: "dataset" 
      //   }
      // },
      // {
      //   path: 'detail',
      //   component: () => import('@/views/dataset/detail'),
      //   meta: { 
      //     title: '新建', 
      //     hideDetails: true,
      //     icon: 'nav-menu-icon1', 
      //     affiliation: "dataset" 
      //   }
      // },
      {
        path: 'code',
        name: 'datasetcode',
        component: () => import('@/views/dataset/code'),
        meta: { 
          title: '概览',
          icon: 'nav-menu-icon1', 
          affiliation: "dataset" 
        }
      },
      // {
      //   path: 'file',
      //   name: 'datasetfile',
      //   component: () => import('@/views/dataset/file'),
      //   meta: { 
      //     title: '文件',
      //     icon: 'nav-menu-icon1', 
      //     affiliation: "dataset" 
      //   }
      // },
      {
        path: 'label',
        name: 'datasetlabel',
        component: () => import('@/views/dataset/label'),
        meta: { 
          title: '标注',
          icon: 'nav-menu-icon1', 
          affiliation: "dataset" 
        }
      },
      
    ]
  },
]
